<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../src/jquery.imageCrossFader.js"></script>
<script type="text/javascript">
$(function() {
	$('#images').imageCrossFader({
		fadeIn: 500,
		fadeOut: 500,
		delay: 2000,
		pauseOnHover: true,
		index: true,
		title: function(title, link) {
			$('p.imageTitle').text('[' + title + '][' + link + ']');
		}
	});
});
</script>
<style type="text/css">
#images {
	position: relative;
	width: 400px;
	height: 250px;
	display: none;
	border: 1px solid black;
}

#images .item {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

#images .index {
	position: absolute;
	bottom: 8px;
	left: 8px;
	z-index: 1;
}

#images .index p {
	float: left;
	padding: 2px 6px;
	border: 1px solid grey;
	background-color: white;
	margin: 0 8px 0 0;
	cursor: pointer;
}

#images .index p.selected {
	background-color: grey;
	color: white;
}
</style>
</head>
<body>
	<p>some text</p>
	<div id="images">
		<ul>
			<li><a href="http://daily.creattica.com/category/tutorials/"><img src="remove-he.jpg" alt="Image title #1" /></a></li>
			<li><img src="UseJQuery1.jpg" alt="Image title #2" /></li>
			<li><span><a href="http://kooms.wordpress.com/2009/04/06/easy-slider-jquery-plugin/"><img src="easy-jquery.jpg" alt="Image title #3" /></a></span></li>
		</ul>
	</div>
	<p class="imageTitle"></p>
	<p>some other text</p>
</body>
</html>